import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;


public class Utilities {
	/**
	 * Pop up a message window to show some useful messages.
	 * @param shell its parent window
	 * @param style warning level
	 * @param message message content
	 */
	public static void showMessage(Shell shell,int style,String message){
		MessageBox messageBox = new MessageBox(shell,style | SWT.YES);
		messageBox.setMessage(message);
		messageBox.open();
	}
}
